package com.flashflexpro.flexdirector.model{
    import com.flashflexpro.as3lib.EventDictionary;

    import flash.utils.Dictionary;

    import mx.collections.ArrayCollection;

    [Bindable]
    [RemoteClass]
    public class DtoTestCase extends DtoCase implements IHasProcedureCaseChildren{

        public function DtoTestCase(){
            name = "Unnamed test case";
            children = new ArrayCollection();
            appInst2code = new Dictionary();
        }

        public var appInst2code:Dictionary;

        [ArrayElementType("com.flashflexpro.flexdirector.model.DtoProcedureCase")]
        public var children:ArrayCollection;

        override public function treeWalk( nodeFunc:Function, self:Object = null, parent:NameAndComment = null ):void{
            super.treeWalk( nodeFunc, self, parent );
            if( children != null ){
                for( var i:int = 0; i < children.length; i ++ ){
                    ( children.getItemAt( i ) as NameAndComment ).treeWalk( nodeFunc, self, this );
                }
            }
        }

        public var flexSdkPath:String = "E:/flex_sdk/flex_sdk_4.1.0.16076";

        public var generatedSourcePath:String = "E:/home_work/from2009/dev/BcFlexAutoTest090623/GENERATED";

        public function get paramNameToUsagesMap():EventDictionary{
            throw new Error( "Never" );
        }

        public function get version():int{
            return 0;
        }

        public function get lastModifiedTime():uint{
            return 9;
        }
    }
}